package com.luck.emp.report.vo;

import java.io.Serializable;

import com.luck.pf.util.FormateUtil;

public class StorageVo implements Serializable {
	private static final long serialVersionUID = 5123192672156666979L;
	int index;
	String deptName;
	Long deptId;
	String productName, productCode;
	String prodBarcode;
	String whCode, whName;
	String measUnit;// 规格
	String kindName;
	String sku;
	/**
	 * 销售价格
	 **/
	Double price;//销售价
	Double lowPrice;//最低销售价
	Long currentQry;// 当前库存,本期库存

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProdBarcode() {
		return prodBarcode;
	}

	public void setProdBarcode(String prodBarcode) {
		this.prodBarcode = prodBarcode;
	}

	public String getWhCode() {
		return whCode;
	}

	public void setWhCode(String whCode) {
		this.whCode = whCode;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public Long getCurrentQry() {
		if(currentQry == null)
			return 0L;
		return currentQry;
	}

	public void setCurrentQry(Long currentQry) {
		this.currentQry = currentQry;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getWhName() {
		return whName;
	}

	public void setWhName(String whName) {
		this.whName = whName;
	}

	public String getMeasUnit() {
		return measUnit;
	}

	public void setMeasUnit(String measUnit) {
		this.measUnit = measUnit;
	}

	public String getKindName() {
		return kindName;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public void setKindName(String kindName) {
		this.kindName = kindName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Double getLowPrice() {
		return lowPrice;
	}

	public void setLowPrice(Double lowPrice) {
		this.lowPrice = lowPrice;
	}

	public String getLowPriceStr() {
		return FormateUtil.getInstance().formateDouble(this.lowPrice);
	}
	public String getPriceStr() {
		return FormateUtil.getInstance().formateDouble(this.price);
	}
}
